<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>

        function method01(){
            console.log("arguments= "+ arguments);
            console.log("method01  001  "+arguments[0]);
            console.log("method01  001  "+arguments[1]);
            console.log("method01  001  "+arguments[2]);
            console.log("method01  001  "+arguments[3]);
            console.log("method01  001  "+(arguments[4]==undefined));
        }
        function method01(a,b){
            console.log("a= "+ a);
            console.log("b= "+ b);
            console.log("method01  001  "+arguments[0]);
            console.log("method01  001  "+arguments[1]);
            console.log("method01  001  "+arguments[2]);
            console.log("method01  001  "+arguments[3]);
        }
        method01(10,20,30,40);
    </script>
</head>
<body>
<button>按钮</button>
</body>
</html>